#region Microsoft Public License
/*
 * (c) Copyright Chenjun Wu. http://utablesdk.codeplex.com
 * 
 * This source is subject to the Microsoft Public License (Ms-PL).
 * Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
 * All other rights reserved.
 */
#endregion

﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UTable.Objects
{
    public delegate void ObjectLayoutChangedEventHandler(IObject sender, ObjectLayoutChangedEventArgs args);

    public delegate void ObjectChildrenChangedEventHandler(IObject sender, ObjectChildrenChangedEventArgs args);

	public delegate void ObjectDragEventHandler(IObject sender, ObjectDragEventArgs args);

	public class ObjectDragEventArgs
	{

	}

    public class ObjectChildrenChangedEventArgs
    {
        public ObjectChildrenChangedEventArgs(IObject added, IObject removed)
        {
            Added = added;
            Removed = removed;
        }

        public IObject Added { get; protected set; }

        public IObject Removed { get; protected set; }
    }
}
